# coding: utf-8


class NotProductError(Exception):
    """
    create by ld_wu 2017-08-14
    没有合适的产品
    """

    def __init__(self, product_type, *args, **kwargs):
        self.product_type = product_type
        super(NotProductError, self).__init__(*args, **kwargs)


class InputError(Exception):
    """
    create by ld_wu 2017-08-28
    输入项存在问题
    """